﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Contract.ServiceContracts;

namespace Service.ServiceInstances
{
    public class MathClass : IMathServices
    {
        public int Add(int arg1, int arg2)
        {
            return (arg1 + arg2);
        }

        public int Avg(int arg1, int arg2)
        {
            return Add(arg1, arg2) / 2;
        }
    }
}
